package cn.tmpan.boot.dao;

import cn.tmpan.boot.model.TestTable;

import java.util.List;

/**
 *
 * @Author tieminPan
 * @Description
 * @Date 2018/9/22 18:54
 * @Param
 * @return
 */
public interface TestTableMapper {

    /**
     * Delete by primary key int.
     *
     * @param id the id
     * @return the int
     */
    int deleteByPrimaryKey(Integer id);


    /**
     * Insert int.
     *
     * @param record the record
     * @return the int
     */
    int insert(TestTable record
    );

    /**
     * Insert selective int.
     *
     * @param record the record
     * @return the int
     */
    int insertSelective(TestTable record);

    /**
     * Select by primary key test table.
     *
     * @param id the id
     * @return the test table
     */
    TestTable selectByPrimaryKey(Integer id

    );

    /**
     * Update by primary key selective int.
     *
     * @param record the record
     * @return the int
     */
    int updateByPrimaryKeySelective(TestTable record
    );

    /**
     * Update by primary key int.
     *
     * @param record the record
     * @return the int
     */
    int updateByPrimaryKey(TestTable record);


    /**
     * Select all list.
     *
     * @return the list
     */
    List<TestTable> selectAll();
}